package org.duiduo.api.request;

import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotNull;

/**
 * 用户注册请求
 *
 * @author liangze
 * @date 2021/9/18 15:30
 */
@Getter
@Setter
public class UserRegisterRequest {

    @NotNull(message = "请输入用户名")
    private String username;

    @NotNull(message = "请输入密码")
    private String password;
}
